LOAD DLL
This command will load a DLL into memory under the specified DLL Number.
LOAD DLL DLLName, DLL Number
DLLName
String
The DLL file must exist either in the current working directory or the Windows system folder
DLL Number
Integer
The DLL Number must be an integer value between 1 and 256
This command does not return a value.
The DLL file must exist either in the current working directory or the Windows system folder. If the file is not found this command will fail. The DLL Number must be an integer value between 1 and 256.
cls
print "Loading DLL..."
LOAD DLL "TestDLL.dll",1
if DLL EXIST(1)=1
print "Calling DLL Function...";
if DLL CALL EXIST(1, "?MyFunc@@YAXXZ")=1
print "okay."
CALL DLL 1, "?MyFunc@@YAXXZ"
else
print "does not exist."
endif
print "Calling DLL Function with Return Value...";
if DLL CALL EXIST(1, "?MyFunc@@YAHH@Z")=1
print CALL DLL(1, "?MyFunc@@YAHH@Z")
else
print "does not exist."
endif
print "Deleting DLL..."
DELETE DLL 1
else
print "not loaded."
endif
do
loop
end
SYSTEM Commands Menu
Index